package com.housekeeping.housekeeping.advertisingmanagement.entity;/*
 * @author  pyh
 * @date  2021/1/18 0018 下午 7:58
 * @version 1.0
 * @since JDK1.8_241
 */

import java.io.Serializable;
import java.sql.Date;

//广告内容信息
public class AdMessages implements Serializable {
    private Integer id;
    private Integer status;//状态
    private String name;//广告名称
    private String associateditems;//关联项目
    private Date starttime;//开始时间
    private Date endtime;//结束时间
    private Date createtime;//创建时间
    private Integer visitors;//访问人数

    public AdMessages() {
    }

    public AdMessages(Integer id, Integer status, String name, String associateditems, Date starttime, Date endtime, Date createtime, Integer visitors) {
        this.id = id;
        this.status = status;
        this.name = name;
        this.associateditems = associateditems;
        this.starttime = starttime;
        this.endtime = endtime;
        this.createtime = createtime;
        this.visitors = visitors;
    }

    public AdMessages(Integer status, String name, String associateditems, Date starttime, Date endtime, Date createtime, Integer visitors) {
        this.status = status;
        this.name = name;
        this.associateditems = associateditems;
        this.starttime = starttime;
        this.endtime = endtime;
        this.createtime = createtime;
        this.visitors = visitors;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAssociateditems() {
        return associateditems;
    }

    public void setAssociateditems(String associateditems) {
        this.associateditems = associateditems;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVisitors() {
        return visitors;
    }

    public void setVisitors(Integer visitors) {
        this.visitors = visitors;
    }

    @Override
    public String toString() {
        return "AdMessages{" +
                "status=" + status +
                ", name='" + name + '\'' +
                ", associateditems='" + associateditems + '\'' +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", createtime=" + createtime +
                ", visitors=" + visitors +
                '}';
    }
}
